package sc.common.test.hopper.handler.client;

import java.util.concurrent.atomic.AtomicInteger;

import org.jboss.netty.channel.ChannelFuture;
import org.jboss.netty.channel.ChannelFutureListener;


public class MyChannelFutureListener implements ChannelFutureListener{
	
	//public static ChannelGroup channels = new DefaultChannelGroup("Client-Channels");
	public static MyChannelFutureListener INSTANCE = new MyChannelFutureListener();
	
	static AtomicInteger COUNTER = new AtomicInteger(0);
	@Override
	public void operationComplete(ChannelFuture future) throws Exception {
//		if (COUNTER.incrementAndGet() == 30)
//			channels.write("what?");
	}
	
}
